package cn.tedu.charging.cost.dao.repository;

import cn.tedu.charging.cost.pojo.po.ChargingCostRulePO;

import java.math.BigDecimal;

public interface CostRuleRepository {
    ChargingCostRulePO getCostRule(Integer stationId, Integer hour);

    BigDecimal getAndSetTotalCapaicity(String orderNo, Double totalCapacity);

    BigDecimal accumulateTotalCost(String orderNo, BigDecimal currentCost);
}
